﻿<?xml version="1.0" encoding="utf-8" ?>
<mbs xmlns="http://www.mbs.com/IoC">
  <listners>
    <listner name="startableListner" value="Mbs.ComponentModel.Container.Listner.StartableListner,Mbs"/>
  </listners>
  <components>
    <component
               id="person"
               service="Mbs.Test.IoC.IPerson,Mbs.Test"
               type="Mbs.Test.IoC.Person,Mbs.Test">
      <extensions>
        <item name="proxy" value="true"/>
      </extensions>
    </component>

    <component
               id="person2"
               service="Mbs.Test.IoC.IPerson,Mbs.Test"
               type="Mbs.Test.IoC.Person2,Mbs.Test"/>

    <component
              id="person5"
              service="Mbs.Test.IoC.IPerson,Mbs.Test"
              type="Mbs.Test.IoC.Person5,Mbs.Test">
      <!--<properties>
        <property name="name" value="ZhangSan" type="System.String,mscorlib"/>
      </properties>-->
    </component>


    <component
              id="person6"
              service="Mbs.Test.IoC.IPerson,Mbs.Test"
              type="Mbs.Test.IoC.Person6,Mbs.Test">
    </component>

    
    <component
               id="TransientPerson"
               service="Mbs.Test.IoC.IPerson,Mbs.Test"
               type="Mbs.Test.IoC.Person,Mbs.Test"
               lifestyleType="Transient"/>

    <component
               id="EagerPerson"
               service="Mbs.Test.IoC.IPerson,Mbs.Test"
               type="Mbs.Test.IoC.Person,Mbs.Test"/>

    <component
               id="StartablePerson"
               service="Mbs.Test.IoC.IPerson,Mbs.Test"
               type="Mbs.Test.IoC.StartablePerson,Mbs.Test"/>

    <component
               id="redHorse"
               service="Mbs.Test.IoC.IHorse,Mbs.Test"
               type="Mbs.Test.IoC.RedHorse,Mbs.Test"/>

    <component
               id="A"
               service="Mbs.Test.IoC.A,Mbs.Test"
               type="Mbs.Test.IoC.A,Mbs.Test"/>

    <component
               service="System.Collections.Generic.IList`1,mscorlib"
               type="System.Collections.Generic.List`1,mscorlib"/>

    <component
               service="Mbs.Test.IoC.GenericCollection`1,Mbs.Test"
               type="Mbs.Test.IoC.GenericCollection`1,Mbs.Test"/>
  </components>
</mbs>